package com.example.wechat114.service.impl;

import com.example.wechat114.commons.JsonBean;
import com.example.wechat114.mapper.WxUserMapper;
import com.example.wechat114.service.WxUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxUserServiceImpl implements WxUserService {

    @Autowired
    private WxUserMapper wxUserMapper;

    @Override
    public JsonBean selectUser(String openid) {
        return new JsonBean(0,"",wxUserMapper.selectByOpenid(openid));
    }
}
